<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>变量</title>
	<script type="text/javascript">
		var1 = 20+20;
		var2  = var1*3;

		alert(var2);
		
		var var1;
		var1 = "这个是一个变量";
		alert(var2);
		
		var name="xubingsi",age=17,sex="女";
		
		var num="这个是一个比较短的变量";
		
		var 姓名 ="这个是一个大写的";

		alert(姓名);
		





	</script>
</head>
<body>
	
</body>
</html>